/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dusin.teachassistdbservice.dao;


import java.util.List;
import java.util.Map;

/**
 *
 * @author tengyu
 */
public interface TeacherDao {    
    
    boolean doCreate(Object[] bean);
    boolean doDeleteByNo(String no);
    boolean doUpdate(Object[] bean);
    
    Map<String,Object> findByNo(String no);
    List<Map<String,Object>> findAll();
    List<Map<String,Object>> findAll(int start,int size);    

    Map<String, Object> login(String username, String password);
    
}
